package com.zf.rpc.loadbalancer;

import com.alibaba.nacos.api.naming.pojo.Instance;

import java.util.List;

/**
 * @ProjectName: RPC-zhaofeng
 * @Package: com.zf.rpc.loadbalancer
 * @ClassName: LoadBalancer
 * @Author: zf
 * @Description:
 * @Date: 2021/5/18 20:25
 * @Version: 1.0
 */
public interface LoadBalancer {
    Instance select(List<Instance> instances);
}
